package com.aaa.javaweb.entity;

public class User {
    private Integer id;
    private String name;
    private String pwd;
    private String idcard;
    private String img;
    private int status;

    public User(Integer id, String name,String pwd, String idcard, String img, int status) {
        this.id = id;
        this.name = name;
        this.pwd = pwd;
        this.idcard = idcard;
        this.img = img;
        this.status = status;
    }

    public User() {
    }

    public String getPwd() {
        return pwd;
    }

    public void setPwd(String pwd) {
        this.pwd = pwd;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }



    public String getIdcard() {
        return idcard;
    }

    public void setIdcard(String idcard) {
        this.idcard = idcard;
    }

    public String getImg() {
        return img;
    }

    public void setImg(String img) {
        this.img = img;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    @Override
    public String toString() {
        return "User{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", pwd='" + pwd + '\'' +
                ", idcard='" + idcard + '\'' +
                ", img='" + img + '\'' +
                ", status=" + status +
                '}';
    }
}
